package com.example.myproject;

import static org.junit.Assert.*;

import org.junit.Test;

public class AudioUploadDTOTest {

	@Test
	public void audioUploadDTOId() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setId(new Long(1234));
		assertEquals("AudioDTO Id should be 1234", new Long(1234),
				testAudioDTO.getId());
	}

	@Test
	public void audioUploadDTOParentId() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setParentId(new Long(1234));
		assertEquals("AudioDTO parentId should be 1234", new Long(1234),
				testAudioDTO.getParentId());
	}

	@Test
	public void audioUploadDTOTitle() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setTitle("Test Title");
		assertTrue("AudioDTO Title should be \"Test Title\".", testAudioDTO
				.getTitle().equals("Test Title"));
	}

	@Test
	public void audioUploadDTOArtist() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setArtist("Test Artist");
		assertTrue("AudioDTO Artist should be \"Test Artist\".", testAudioDTO
				.getArtist().equals("Test Artist"));
	}

	@Test
	public void audioUploadDTOAlbum() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setAlbum("Test Album");
		assertTrue("AudioDTO Albumshould be \"Test Album\".", testAudioDTO
				.getAlbum().equals("Test Album"));
	}

	@Test
	public void audioUploadDTOYear() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setYear("Test Year");
		assertTrue("AudioDTO Year should be \"Test Year\".", testAudioDTO
				.getYear().equals("Test Year"));
	}

	@Test
	public void audioUploadDTOGenre() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setGenre("Test Genre");
		assertTrue("AudioDTO Genre should be \"Test Genre\".", testAudioDTO
				.getGenre().equals("Test Genre"));
	}

	@Test
	public void audioUploadDTOTrack() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setArtist("Test Artist");
		assertTrue("AudioDTO Artist should be \"Test Artist\".", testAudioDTO
				.getArtist().equals("Test Artist"));
	}

	@Test
	public void audioUploadDTOCaption() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setCaption("Test Caption");
		assertTrue("AudioDTO Caption should be \"Test Caption\".", testAudioDTO
				.getCaption().equals("Test Caption"));
	}

	@Test
	public void audioUploadDTOPath() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setPath("Test Path");
		assertTrue("AudioDTO Path should be \"Test Path\".", testAudioDTO
				.getPath().equals("Test Path"));
	}

	@Test
	public void audioUploadDTOContentType() {
		AudioUploadDTO testAudioDTO = new AudioUploadDTO();
		testAudioDTO.setContentType("Test Audio");
		assertTrue("AudioDTO Content Type should be \"Test Audio\".",
				testAudioDTO.getContentType().equals("Test Audio"));
	}

}
